package com.honglu.backend.utils;


/**
* 后台， 此类只是用于list列表页面用, 因为需要玉layui的返回json对应
* @author xiajiyun
* @version 1.0
*/
public enum CodeListUtils {
	
	SUCCESS("200","成功",true),
	BACKEND_ERROR("-200","程序异常请联系管理员",false);// 说明，BACKEND开头是后台系统定义
	
	private String code;//错误码
	private String msg;//错误消息
	private Boolean rel;//返回状态
	
	private CodeListUtils(String code, String message,Boolean flag) {
		this.code = code;
		this.msg = message;
		this.rel = flag;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Boolean getRel() {
		return rel;
	}

	public void setRel(Boolean rel) {
		this.rel = rel;
	}

	 
	
}
